<template>
  <div>
    <!--路由器组件出口的位置-->
    <router-view v-slot:{Component}>
      <transition name="fade">
        <component :is="Component"></component>
      </transition>
    </router-view>
  </div>
</template>

<script setup lang="ts">

</script>

<style scoped>

</style>